package cn.tedu._02notice.mapper;

import cn.tedu._02notice.pojo.dto.NoticeListQuery;
import cn.tedu._02notice.pojo.entity.Notice;
import cn.tedu._02notice.pojo.vo.NoticeListVO;
import cn.tedu._02notice.pojo.vo.NotiecDetailInfoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface NoticeMapper {
    int insertNotice(Notice notice);

    List<NoticeListVO> selectNoticeList(NoticeListQuery noticeListQuery);

    NotiecDetailInfoVO selectNoticeById(Long id);

    int detNoticeById(Long id);

    int updateNoticeById(Notice notice);
}
